﻿@using TaskManager
@model TaskManager.ViewModels.Navigation
@{
    Layout = null;
}

<ul id="navPanelBar">
    <li>Sprints
        <ul>
        @{foreach (Sprint sprint in Model.Sprints)
          {
            <li id="@sprint.SprintId" class="tm-sprint">@string.Format("Sprint {0}", sprint.SprintId)</li>
          }
        }
        </ul>
    </li>

    <li class="tm-developer-pane">Developers
        <ul>
        @{foreach (Developer developer in Model.Developers)
          {
            <li id="@developer.DeveloperId" class="tm-developer">@string.Format("{0} {1}", developer.FirstName, developer.LastName)</li>
          }
        }
        </ul>
    </li>
</ul>

<script type="text/javascript">
    Layout.Navigation.init();
</script>